package com.koron.car.web.driver.bean.query;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.koron.bean.query.PageQuery;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author twcao
 * @title: DriverQuery
 * @projectName GDH_EAM_V2
 * @description: 司机查询条件
 * @date 2022/3/110:28
 */
@Data
public class DriverQuery extends PageQuery {

    @ApiModelProperty("主键")
    private String id;

    @ApiModelProperty("姓名")
    private String driverName;

    @ApiModelProperty("司机类型：专职、兼职")
    private String driverType;

    @ApiModelProperty("联系方式")
    private String phone;

    @ApiModelProperty("所属车队，所属车队id(新建即保存或新增)")
    private String motorcade;

    @ApiModelProperty("部门")
    private String deptId;

    @ApiModelProperty("审核状态：草稿、待审核、已完成")
    private List<String> applyStates;

    @ApiModelProperty("工作状态，字典：草稿、空闲、出车中")
    private List<String> workStates;

    @JsonIgnore
    @ApiModelProperty(value = "删除标志", hidden = true)
    private Boolean deleteFlag;
}
